﻿using Dora.Orm.Core.Domain.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Entities
{
    /// <summary>
    /// 大社设置表实体对象
    /// </summary>
    [SugarTable("org_big_setting")]
    public class OrgBigSettingEntity : Entity<int>
    {
        #region model


        /// <summary>
        /// 订单默认归属门店Id;当小程序客户在未绑定门店时，所下订单归属的门店Id
        /// </summary>
        public int OrderDefaultOrgId { get; set; }

        /// <summary>
        /// 大盘产品合并方式;0毛利最高  1外卖价最低
        /// </summary>
        public int MarketProdMergeType { get; set; }

        /// <summary>
        /// 邮轮产品合并方式;0毛利最高 1外卖价最低
        /// </summary>
        public int CruiseProdMergeType { get; set; }

        /// <summary>
        /// 是否自动上架
        /// 原始意思:是否编辑产品
        /// </summary>
        public short IsEditProd { get; set; }

        /// <summary>
        /// 是否赠送保险
        /// </summary>
        public short IsGiveInsurance { get; set; }

        /// <summary>
        /// 微信小程序AppId
        /// </summary>
        public string WxMPAppId { get; set; }

        /// <summary>
        /// 微信小程序AppSecret
        /// </summary>
        public string WxMPAppSecret { get; set; }

        /// <summary>
        /// 微信小程序主题
        /// </summary>
        public string WxMPTheme { get; set; }
        /// <summary>
        /// 是否开启电子合同审核(0 不审核  1 审核)
        /// </summary>
        public short IsVerify { get; set; }
        /// <summary>
        /// 更新人Id
        /// </summary>
        public Guid? UpdatedUserId { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdatedUserName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }

        #endregion
        #region extend
        #endregion
    }
}
